package me.muci.C_JUC.AtoJUC;

import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.ThreadPoolExecutor;

/**
 * ClassName: Test <br/>
 * Description: <br/>
 * date: 2021/8/9 14:53<br/>
 *
 * @author muci<br />
 * @description
 * @since JDK 1.8
 */
public class Test {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();

        for (int i = 0; i < 100; i++) {
            Thread thread = new Thread(myThread, "t" + Integer.toString(i));
            thread.start();
        }
        System.out.println("Counter.getCount() = " + Counter.getCount());
    }
}
